package com.example.zhunongzonghe.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 
 * @TableName zn_logistics
 */
@TableName(value ="zn_logistics")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ZnLogistics implements Serializable {
    /**
     * 物流快递表
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 物流快递公司名
     */
    @TableField(value = "company")
    private String company;

    /**
     * 物流快递编号
     */
    @TableField(value = "cpynumber")
    private String cpynumber;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}